#ifndef VERSION_BLCK_H
#define VERSION_BLCK_H

#include <QWidget>

#include <QSettings>
#include <QDateTime>
#include "../../MACRO.h"
namespace Ui {
class version_blck;
}

class version_blck : public QWidget
{
    Q_OBJECT

public:
    explicit version_blck(QWidget *parent = nullptr);
    ~version_blck();
public slots:
//    void update_file_path(QList<QString>);
    void get_bug_file();
private slots:
    void on_ui_btm_vsyn_clicked();

    void on_ui_btm_dir_clicked();

private:
    Ui::version_blck *ui;
private:
    void recursiveFileSearch(const QString& directory, const QStringList& suffixes, QStringList& result);
    bool forceCopyFile(const QString& sourceFilePath, const QString& targetFilePath);

    //获取时间
    QDateTime time_lst;
    //加载配置
    QSettings *settings;
};

#endif // VERSION_BLCK_H
